package com.example.springcloud.provider.student.service;

import com.example.springcloud.common.entity.Student;

import java.util.List;

public interface StudentService {
    void addStudent(Student student);

    Student findStudentById(int id);

    List<Student> findAllStudents();

    void updateStudent(Student student);

    void deleteStudent(int id);
}
